package com.offcn.pojo;

/**
 * @author mojiayi
 * @date 2021-04-06 19:04
 * @description
 */
public class Student {
    /*
     student.setId(Integer.parseInt(split[0]));
                student.setName(split[1]);
                student.setYuwen(Integer.parseInt(split[2]));
                student.setShuxue(Integer.parseInt(split[3]));
                student.setYunyu(Integer.parseInt(split[4]));
                student.setWuli(Integer.parseInt(split[5]));
                student.setHuaxue(Integer.parseInt(split[6]));
                student.setShengwu(Integer.parseInt(split[7]));
    * */

    private  int id;
    private String name;
    private int yuwen;
    private int shuxue;
    private int yunyu;
    private int wuli;
    private int huaxue;
    private int shengwu;
    private int zong;

    public Student(int id, String name, int yuwen, int shuxue, int yunyu, int wuli, int huaxue, int shengwu, int zong) {
        this.id = id;
        this.name = name;
        this.yuwen = yuwen;
        this.shuxue = shuxue;
        this.yunyu = yunyu;
        this.wuli = wuli;
        this.huaxue = huaxue;
        this.shengwu = shengwu;
        this.zong = zong;
    }

    public Student() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getYuwen() {
        return yuwen;
    }

    public void setYuwen(int yuwen) {
        this.yuwen = yuwen;
    }

    public int getShuxue() {
        return shuxue;
    }

    public void setShuxue(int shexue) {
        this.shuxue = shexue;
    }

    public int getYunyu() {
        return yunyu;
    }

    public void setYunyu(int yunyu) {
        this.yunyu = yunyu;
    }

    public int getWuli() {
        return wuli;
    }

    public void setWuli(int wuli) {
        this.wuli = wuli;
    }

    public int getHuaxue() {
        return huaxue;
    }

    public void setHuaxue(int huaxue) {
        this.huaxue = huaxue;
    }

    public int getShengwu() {
        return shengwu;
    }

    public void setShengwu(int shengwu) {
        this.shengwu = shengwu;
    }

    public int getZong() {
        return zong;
    }

    public void setZong(int zong) {
        this.zong = zong;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", yuwen=" + yuwen +
                ", shexue=" + shuxue +
                ", yunyu=" + yunyu +
                ", wuli=" + wuli +
                ", huaxue=" + huaxue +
                ", shengwu=" + shengwu +
                ", zong=" + zong +
                '}';
    }
}
